<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title>Pagina Principal</title>
</h:head>
<h:body>
	<h:form prependId="false">
		<p:panel>
			<table cellspacing="10" cellpadding="10">
				<tr>
					<td><h:graphicImage id="logo"
						url="/resources/imagens/logoLoja.png" /></td>
					<td>
					<table>
						<tr>
							<td><h:outputLabel for="buscaProdVend"
								value="Encontre Vendedores e Produtos" /></td>
						</tr>
						<tr>
							<td><h:inputText id="buscaProdVend" /></td>
						</tr>
						<tr>
							<td><h:outputLabel value="Procurar" /></td>
						</tr>
						<tr>
							<p:commandButton value="Produtos" />
							<p:commandButton value="Vendedores" />
						</tr>
					</table>
					</td>
					<td><p:menu style="width:200px;font-size:small">
						<p:submenu label="Conteúdo">
							<p:menuitem value="Destaques" />
							<p:menuitem value="Blog" />
							<p:menuitem value="Quem Faz" />
						</p:submenu>
					</p:menu></td>
					<td><p:menu style="width:200px;font-size:small">
						<p:submenu label="Participe do webLoja">
							<p:menuitem value="Quero Comprar" ajax="false" 
									action="cadcompradores" />
							<p:menuitem value="Quero Vender" ajax="false" 
									action="cadvendedores" />
						</p:submenu>
					</p:menu></td>
					<td>
					<table>
						<tr>
							<td>Usuário (Seu Email)</td>
						</tr>
						<tr>
							<td><h:inputText id="usuarioLogin" 
								value="#{headerViewBean.login}" /></td>
						</tr>
						<tr>
							<td>Senha</td>
						</tr>
						<tr>
							<td><h:inputText id="usuarioSenha" 
									value="#{headerViewBean.senha}" /></td>
							<td><p:commandButton value="Entrar" 
								ajax="false" action="#{headerViewBean.autenticaUsuario}"/></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
		</p:panel>
	</h:form>
</h:body>
</html>